#include<iostream>
#include<string>
using namespace std;

void DeleteStr(string& Line, string str)
{
	for (char ch : str)
	{
		for (auto it = Line.begin(); it != Line.end(); it++)
		{
			if (*it == ch)
				Line.erase(it);
		}
	}
	cout << Line << endl;
}

int main()
{
	string Line = "They are students";
	string str = "aeiou";
	DeleteStr(Line, str);

	return 0;
}